package com.imachen.order.service;

import com.imachen.basic.service.IBaseService;
import com.imachen.basic.utils.PageList;
import com.imachen.order.domain.OrderPetAcquisition;
import com.imachen.order.dto.OrderDto;
import com.imachen.order.query.OrderPetAcquisitionQuery;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AChen
 * @since 2022-09-08
 */
public interface IOrderPetAcquisitionService extends IBaseService<OrderPetAcquisition> {

    PageList<OrderPetAcquisition> queryPage(@RequestBody OrderPetAcquisitionQuery query, HttpServletRequest request);

    void cancel(Long id);

    void confirm(OrderDto orderDto);
}
